#ifndef REGISTER1_H
#define REGISTER1_H

#include <QWidget>
#include <QTcpSocket>
#include <QAbstractSocket>

namespace Ui {
class register1;
}

class register1 : public QWidget
{
    Q_OBJECT

public:
    explicit register1(QWidget *parent = nullptr);
    ~register1();

private slots:
    void on_zhuce_clicked();
    void on_fanhui_clicked();
    void onConnected();
    void onReadyRead();
    void onError(QAbstractSocket::SocketError socketError);

private:
    Ui::register1 *ui;
    QTcpSocket *socket;
};

#endif // REGISTER1_H
